Skip to content

Update check_board_header.py to check for missing ifndefs#2927

Open
lurch wants to merge 1 commit intodevelopfrom
board_header_ifndef
Open

Update check_board_header.py to check for missing ifndefs#2927
lurch wants to merge 1 commit intodevelopfrom
board_header_ifndef

Conversation

@lurch
Copy link
Copy Markdown
Contributor

@lurch lurch commented May 6, 2026

Any board #defines with a pico_board_cmake_set_default counterpart, or that start with PICO_DEFAULT_, should be wrapped in an #ifndef guard so that they're easy to override.

Also fixes a few board-header errors that this detected.

(as discussed with @will-v-pi in #2919 )

Any board #defines with a pico_board_cmake_set_default counterpart, or that
start with PICO_DEFAULT_, should be wrapped in an #ifndef guard so that they're
easy to override

Also fixes a few board-header errors that this detected
@lurch lurch requested review from kilograham and will-v-pi May 6, 2026 17:16
@lurch lurch mentioned this pull request May 7, 2026
@kilograham kilograham added this to the 2.2.1 milestone May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants